package com.ichina.chat.dao;

import java.util.List;

import com.ichina.chat.vo.Type;

public interface TypeDao {

	public boolean addType(Type type)throws Exception;
	
	public boolean delType(int typeid)throws Exception;
	
	public boolean updateType(Type type)throws Exception;
	
	public Type loadById(int typeid)throws Exception;
	
	public List<Type> getAll()throws Exception;
}
